import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'login',
      component: () => import('./../components/login.vue')
    },
    {
      path: '/reg',
      name: 'reg',
      component: () => import('../components/reg.vue')
    },
    {
      path: '/index',
      name: 'index',
      component: () => import('./../components/index.vue'),
    }
  ]
})
